package alibaba.ifelserefactor.demo01.test04;

import alibaba.ifelserefactor.demo01.ShareListener;
import alibaba.ifelserefactor.demo01.ShareType;
import lombok.Data;

/**
 * @author ChangLiang
 * @date 2020/4/20
 */
@Data
public abstract class ShareItem {
    public ShareType type;

    public abstract void doShare(ShareListener listener);

    public ShareItem(ShareType type) {
        this.type = type;
    }
}
